package com.example.bootintegration.controller;

import com.example.bootintegration.service.TransactionTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Quintoy
 * @date 01/19/24
 */
@RestController
public class JPATestController {
    @Autowired
    private TransactionTest test;

    @RequestMapping("/jpa")
    public void test() {
        test.testJpa();
    }
}
